-
Home
-
aBlocks – WordPress Gutenberg Blocks
-
1.5.11
-
Code
-
Classes
- FileUpload
| Total Complexity |
27 |
| Dependencies |
0 |
| Dependents |
3 |
| Total lines |
137 |
| Lines of code |
110 |
| Logical lines of code |
69 |
| Comment lines |
3 |
| Methods |
11 |
| Properties |
0 |
Methods 11
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| upload_file() |
A |
48 |
8 |
32 |
| delete_files() |
S |
56 |
5 |
18 |
| create_folder() |
S |
63 |
3 |
11 |
| delete_file() |
S |
63 |
3 |
11 |
| has_upload_file() |
S |
65 |
2 |
9 |
| create_file() |
S |
72 |
1 |
5 |
| get_file_data() |
S |
71 |
1 |
6 |
| get_file_path() |
S |
79 |
1 |
3 |
| get_file_url() |
S |
79 |
1 |
3 |
| get_upload_url() |
S |
70 |
1 |
6 |
| get_upload_dir() |
S |
71 |
1 |
6 |